package com.hzw.video.decoder

import com.hzw.video.decoder.IDecoder

/**
 *
 * @Author:         HuaZhongWei
 * @CreateDate:     2020/9/15 15:32
 *
 * @Description:
 *
 */
interface IDecoderStateListener {

    fun decoderPrepare(decoder: IDecoder)

    fun decoderFinish(decoder: IDecoder)

    fun decoderPause(decoder: IDecoder)

    fun decoderRunning(decoder: IDecoder)

    fun decoderError(decoder: IDecoder, error: String)

    fun decoderDestroy(decoder: IDecoder)

}